home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.3
/
Video Toaster v4.3.iso
/
3.1
/
toasterall
/
arexx_examples
/
tpaint
/
tpsmiley.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-05-13
|
1KB
|
40 lines
/* Don't Worry Draw Happy! by Arnie Cachelin 1992 */
/* Printed as an example in Video Toaster User */
address 'DigiPaint' /* Tell ARexx where commands go */
'Pmcl' /* Normal paint mode */
'Hvof'
'Maxc'
'Drci' /* Circles */
'Flon' /* Filled shape mode */
'Bsz3' /* Brush Size */
'Cbxa' /* Yellow color */
'Pend' 376 240 /* Smiley position x,y */
'Penu' 376 10 /* Smiley Radius x,y-r */
'Flof' /* Fill off */
'Cbx0' /* Black */
'Drar' /* Draw ellipses */
'Pend' 376 308 /* Smile center */
'Penu' 510 396 /* Smile size */
'Drre' /* Draw rectangles */
'Flon' /* Fill on */
'Cbxa' /* Yellow */
'Pend' 212 200 /* Erase top of smile ellipse */
'Penu' 536 326
'Cbx0' /* Black color */
'Drci'
'Pend' 245 328 /* Round smile edges */
'Penu' 245 328
'Pend' 507 328
'Penu' 507 328
'Pend' 300 180 /* Draw Eyes */
'Penu' 322 180
'Pend' 452 180
'Penu' 474 180
/* 'Blu2' */ /* Set to Heavy Blur mode */
/* 'Whsc' */ /* Blur whole screen to anti-alias edges.. real slow */
'Shco' /* Render to Program Out */
exit /* Bye bye! */